home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / guvenlik / syslinux-3.07.exe / extlinux.doc < prev    next >
Encoding:
Text File  |  2005-01-07  |  2.9 KB  |  91 lines

  1. EXTLINUX is a new syslinux derivative, which boots from a Linux
  2. ext2/ext3 filesystem.
  3.  
  4. It works the same way as SYSLINUX, with a few slight modifications.
  5.  
  6. 1. The installer is run on a *mounted* filesystem.  Run the extlinux
  7.    installer on the directory in which you want extlinux installed:
  8.  
  9.     extlinux /boot
  10.  
  11.    NOTE: this doesn't have to be the root directory of a filesystem.
  12.    If /boot is a filesystem, you can do:
  13.  
  14.     mkdir -p /boot/extlinux
  15.     extlinux /boot/extlinux
  16.  
  17.    ... to create a subdirectory and install extlinux in it. 
  18.  
  19.  
  20. 2. The configuration file is called "extlinux.conf", and is expected
  21.    to be found in the same directory as extlinux is installed in.
  22.  
  23.  
  24. 3. Pathnames can be absolute or relative; if absolute (with a leading
  25.    slash), they are relative to the root of the filesystem on which
  26.    extlinux is installed (/boot in the example above), if relative,
  27.    they are relative to the extlinux directory.
  28.  
  29.    extlinux supports subdirectories, but the total path length is
  30.    limited to 255 characters.
  31.  
  32.  
  33. 4. EXTLINUX currently doesn't support symlinks or sparse files; it
  34.    does, however, support hard links.  This will be fixed in a future
  35.    version.
  36.  
  37.  
  38.  
  39. Note that EXTLINUX installs in the filesystem partition like a
  40. well-behaved bootloader :)  Thus, it needs a master boot record in the
  41. partition table; the mbr.bin shipped with SYSLINUX should work well.
  42. To install it just do:
  43.  
  44.     cat mbr.bin > /dev/XXX
  45.  
  46. ... where /dev/XXX is the appropriate master device, e.g. /dev/hda,
  47. and make sure the correct partition in set active.
  48.  
  49.  
  50. If you have multiple disks in a software RAID configuration, the
  51. preferred way to boot is:
  52.  
  53. - Create a separate RAID-1 partition for /boot.  Note that the Linux
  54.   RAID-1 driver can span as many disks as you wish.
  55.  
  56. - Install the MBR on *each disk*, and mark the RAID-1 partition
  57.   active.
  58.  
  59. - Run "extlinux /boot" to install extlinux.  This will install it on
  60.   all the drives in the RAID-1 set, which means you can boot any
  61.   combination of drives in any order.
  62.  
  63.  
  64.  
  65. It is not required to re-run the extlinux installer after installing
  66. new kernels.  If you are using ext3 journalling, however, it might be
  67. desirable to do so, since running the extlinux installer will flush
  68. the log.  Otherwise a dirty shutdown could cause some of the new
  69. kernel image to still be in the log.  This is a general problem for
  70. boot loaders on journalling filesystems; it is not specific to
  71. extlinux.  The "sync" command does not flush the log on the ext3
  72. filesystem.
  73.  
  74.  
  75. The SYSLINUX series boot loaders support chain loading other operating
  76. systems via a separate module, chain.c32 (located in
  77. com32/modules/chain.c32).  To use it, specify a LABEL in the
  78. configuration file with KERNEL chain.c32 and
  79. APPEND [hd|fd]<number> [<partition>]
  80.  
  81. For example:
  82.  
  83. # Windows CE/ME/NT, a very dense operating system.
  84. # Second partition (2) on the first hard disk (hd0);
  85. # Linux would *typically* call this /dev/hda2 or /dev/sda2.
  86. LABEL cement
  87.     KERNEL chain.c32
  88.     APPEND hd0 2
  89.  
  90. See also README.menu.
  91.